http://mail.python.org/pipermail/idle-dev/2001-July/000375.html


Create a new file type, dont choose to associate with a premade file type (python file), name manually and specify the following action manually

E:\Utilities\Editing\Python21\pythonw.exe E:\Utilities\Editing\Python21\Tools\idle\idle.pyw -e %1




> In Windows Explorer, Tools | Folder Options | File Types scroll down the
> list and select Python File. Hit the Edit button. In the Edit File Type
> dialog hit the New button. In the Action field type in "Edit in IDLE" and
in
> the Application used to perform action field type in
> "C:\Python21\pythonw.exe C:\PYTHON21\Tools\idle\idle.pyw -s -e". The -s
> switch is optional and will load your PYTHONSTARTUP script. The -e says to
> edit the file. The location of pythonw.exe and idle.pyw depends on your
> installation.
>
> Having done this, you can now right click on a .py file and you will have
an
> option to "Edit in IDLE". The only drawback to this technique is that if
> IDLE is already running, a second shell window will open as well as the
file
> you want to edit.
>
> Hope that helps.
>
> ---
> Patrick K. O'Brien
> Orbtech
> "I am, therefore I think."
>
> -----Original Message-----
> From: idle-dev-admin@python.org [mailto:idle-dev-admin@python.org]On
Behalf
> Of Peter Bengtsson
> Sent: Friday, June 29, 2001 9:30 AM
> To: idle-dev@python.org
> Subject: [Idle-dev] rightclick
>
> 1) In windows, how do I (if possible) right-click a py file and open it in
> IDLE?
>
> 2) In windows, how do I (if possible with some hacking) right-click a py
> file and open it in IDLE?
>
> 3) Where's the mailinglist archive for this mailing list? I never did any
> research before question 1 and 2.
>
>
> Cheers, Peter
>
>
> _______________________________________________
> IDLE-dev mailing list
> IDLE-dev@python.org
> http://mail.python.org/mailman/listinfo/idle-dev
>
